package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;

import java.util.List;

/**
 * desc
 *
 * @author wkh
 * @date 2024/6/17 16:52
 */
public interface ShoppingCartService {

    // 添加购物车
    void add(ShoppingCartDTO shoppingCartDTO);

    // 购物车展示
    List<ShoppingCart> showShoppingCart();

    // 清空购物车
    void cleanShoppingCart();

    // 购物车删除
    void subShoppingCart(ShoppingCartDTO shoppingCartDTO);
}
